<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>达尔文模拟器</title>
    <link href="./assets/style.css"  rel="stylesheet" type="text/css">
    <link href="./assets/page_game.css" rel="stylesheet" type="text/css">
    <link href="./assets/page_welcome.css"  rel="stylesheet" type="text/css">

</head>
<body>
    <div id="page_welcome" class="page">
        <h1>达尔文模拟器</h1>
        <div id="start">
            <button id="btn_start_game">开始新实验</button>
            <button id="btn_continue_game" style="display: none;">继续上次实验</button>
            <a href="https://gitee.com/ivenWang/darwin/blob/master/README.md">帮助</a>
        </div>
    </div>
    <div id="page_option" style="display: none;" class="page">
        
    </div>
    <div id="page_game" style="display: none;" class="page">
        <div id="chart_area">
            <div id="chart_title">生物及能量分布</div>
            <div id="chart_layer_setting">
                <button id="btn_animal_map">❀</button>
                <button id="btn_power_map">☼</button>
            </div>
            <canvas class="draw" width="256px" height="256px"></canvas>
            <div id="chart_options">
                <button>世界</button>
            </div>
        </div>
        <div id="ctrl_P">
            <h1>上帝终端</h1>
            <button id="btn_run">开始运行</button>
            <h3>统计信息（实时更新）</h3>
            <ul>
                <li>现存生物数:<span id="life_now"></span></li>
                <li>现存动物数:<span id="animal_now"></span></li>
                <li>现存植物数:<span id="plant_now"></span></li>
                <li>现存丁克数:<span id="dink_now"></span></li>
                <li>基因稳定数：<span id="gene_stabilize"></span></li>
                <li>历史总生物数:<span id="life_disory"></span></li>
                <li>被吃的生物:<span id="die_prey"></span></li>
                <li>饿死的生物:<span id="die_hunger"></span></li>
    
                <li>本时刻死亡生物:<span id="now_die"></span></li>
                <li>生物平均预期寿命(游戏刻):<span id="age_want_life"></span></li>
            </ul>
        </div>
    </div>
    
    <script src="./out/index.js" type="module"></script>
</body>
</html>